import {baseRequest} from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/tjzy/ht/call/report/` + url, ...arg)
/**
 * 获取坐席工作报表数据
 */
export default {
	// 获取坐席工作报表数据列表
	agentReportPage(data) {
		return request('page', data, 'post')
	},

	listAllDeptList(data) {
		return request('deptList', data, 'post')
	},
	exportExcel(data) {
		return request('export', data, 'get', {
			responseType: 'blob'
		})
	}
}
